package financial.sharing.center.receivable.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName TestController
 * @Description TODO
 * @Author guoyuhang
 * @ @csdn https://blog.csdn.net/qq_40788718
 * @Date 2021/4/7
 * @Version 1.0
 */
@RestController
@RequestMapping(value = "/test/")
public class TestController {

    @PostMapping("post")
    public String post(){
        return "post success";
    }

    @GetMapping("get")
    public String get(){return "get success"; }
}
